home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / source.exe / POSIX / WC / MAKEFILE < prev    next >
Text File  |  1993-08-10  |  609b  |  24 lines

  1. !include <ntwin32.mak>
  2.  
  3. C_DEFINES=-DWIN_NT -DSTDC_HEADERS -D_POSIX_SOURCE -DDIRENT -DSTACK_DIRECTION=-1 -D__STDC__ -DDF_POSIX -D_POSIX_ -DCONVERT_TO_SLASHES -UCONVERT_TO_BACKSLASHES
  4. C_INCLUDES=-I..\include\bsd -I..\include\df
  5.  
  6. all: wc.exe
  7.  
  8. ..\bsdpsx\bsdpsx.lib:
  9.     cd ..\bsdpsx
  10.     nmake
  11.     cd ..\wc
  12.  
  13. wc.obj: wc.c *.h
  14.  
  15. wcglob.obj: wcglob.c *.h
  16.  
  17. glob.obj: glob.c *.h
  18.  
  19. wc.exe: wc.obj wcglob.obj glob.obj ..\bsdpsx\bsdpsx.lib
  20.     $(link) $(linkdebug) $(psxflags) -out:$*.exe $** $(psxlibs) ..\bsdpsx\bsdpsx.lib
  21.  
  22. .c.obj:
  23.     $(cc) $(cflags) $(psxvars) $(cvars) $(cdebug) $(C_DEFINES) $(C_INCLUDES) $*.c
  24.